﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public class SalesPercentage
    {
        public static int calculatePercentage(int did,int adminid)
        {
            //DbHelper.ExecuteNonQuery("p_SalesPercentage_calculatePercentage", did, adminid);
            return Convert.ToInt32(DbHelper.ExecuteScalar("p_SalesPercentage_calculatePercentage", did, adminid));
        }

    }
}
